import Vue from 'vue'
import Router from 'vue-router'
import Personal from "../components/PersonalCenter/Personal.vue";
import Maintanence from "../components/PersonalCenter/Maintanence.vue";
import Login from "../components/Login/Login.vue";
import Register from "../components/Login/Register.vue";
import OrderDetails from "../components/PersonalCenter/OrderDetails.vue";
import ShoppingOrder from "../components/PersonalCenter/ShoppingOrder.vue";
import ApplyFor from "../components/PersonalCenter/ApplyFor.vue";
import ExaminePage from "../components/PersonalCenter/ExaminePage.vue";
import Examine from "../components/PersonalCenter/Examine.vue";
import Repair from "../components/PersonalCenter/Repair.vue";
import RepairDetails from "../components/PersonalCenter/RepairDetails.vue";
import ShoppingDetails from "../components/PersonalCenter/ShoppingDetails.vue";
import Home from "../components/shopping/Home.vue";
import Classify from "../components/shopping/Classify.vue";
import Bustails from "../components/shopping/Bustails.vue";
import Shoppingcart from "../components/shopping/Shoppingcart.vue";
import shouyei from "../components/myrview/shouyei.vue";
import AnnouncementList from "../components/myrview/AnnouncementList.vue";
import AnnouncementOne from "../components/myrview/AnnouncementOne.vue";
import EnterpriseIntroduction from "../components/myrview/EnterpriseIntroduction.vue";
import RepairService from "../components/myrview/RepairService.vue";
import NewsDetail from "../components/myrview/NewsDetail.vue";
import Maintenance from "../components/myrview/Maintenance.vue";
import MaintenanceService from "../components/myrview/MaintenanceService.vue";
import ProblemSubmitSuccess from "../components/myrview/ProblemSubmitSuccess.vue";
import Orderdetails from "../components/shopping/Orderdetails.vue";
import OrderConfirmation from "../components/shopping/OrderConfirmation.vue";
import Payfororder from "../components/shopping/Payfororder.vue";
import ShoppingAddress from "../components/PersonalCenter/ShoppingAddress.vue";
import Contactwe from "../components/PersonalCenter/Contactwe.vue";
import Introduce from "../components/PersonalCenter/Introduce.vue";
import Evaluate from "../components/PersonalCenter/Evaluate.vue";
import Qrcode from "../components/shopping/Qrcode.vue";
import Qrcodesussces from "../components/shopping/Qrcodesussces.vue"
import LayoutPage from "../components/backmanagement/LayoutPage.vue";
import ShoppingOrderManage from "../components/backmanagement/ordermanagement/ShoppingOrderManage.vue";
import MaintOrder from "../components/backmanagement/ordermanagement/MaintOrder.vue";
import AddressManage from "../components/backmanagement/ordermanagement/AddressManage.vue";
import AdminManage from "../components/backmanagement/ordermanagement/AdminManage.vue";
import GoodsManage from "../components/backmanagement/ordermanagement/GoodsManage.vue";
import PayMentPage from "../components/PersonalCenter/PayMentPage.vue";
import Paysuccess from "../components/PersonalCenter/Paysuccess.vue";
Vue.use(Router)

export default new Router({
  routes: [

    {
      path: '/personal',
      name: 'Personal',
      component: Personal
    },
    {
      path: '/maintanence',
      name: 'Maintanence',
      component: Maintanence
    },
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/orderdetails',
      name: 'OrderDetails',
      component: OrderDetails
    },
    {
      path: '/shoppingorder',
      name: 'ShoppingOrder',
      component: ShoppingOrder
    },
    {
      path: '/applyfor',
      name: 'ApplyFor',
      component: ApplyFor
    },
    {
      path: '/examinepage',
      name: 'ExaminePage',
      component: ExaminePage
    },
    {
      path: '/examine',
      name: 'Examine',
      component: Examine
    },
    {
      path: '/repair',
      name: 'Repair',
      component: Repair
    },
    {
      path: '/repairdetails',
      name: 'RepairDetails',
      component: RepairDetails
    },
    {
      path: '/shoppingdetails',
      name: 'ShoppingDetails',
      component: ShoppingDetails
    },
    {
      path: '/home',
      name: 'Home',
      component: Home
    },
    {
      path: '/classify',
      name: 'Classify',
      component: Classify
    },
    {
      path: '/bustails',
      name: 'Bustails',
      component: Bustails
    },
    {
      path: '/shoppingcart',
      name: 'Shoppingcart',
      component: Shoppingcart
    },
    {
      path: '/shouyei',
      name: 'shouyei',
      component: shouyei
    },
    {
      path: '/AnnouncementList',
      name: 'AnnouncementList',
      component: AnnouncementList
    },
    {
      path: '/AnnouncementOne/:id',
      name: 'AnnouncementOne',
      component: AnnouncementOne
    },
    {
      path: '/EnterpriseIntroduction',
      name: 'enterpriseIntroduction',
      component: EnterpriseIntroduction
    },
    {
      path: '/RepairService',
      name: 'RepairService',
      component: RepairService
    },
    {
      path: '/Orderdetails',
      name: 'Orderdetails',
      component: Orderdetails
    },
    {
      path: '/OrderConfirmation',
      name: 'OrderConfirmation',
      component: OrderConfirmation
    },
    {
      path: '/Payfororder',
      name: 'Payfororder',
      component: Payfororder
    },
    {
      path: '/shoppingaddress',
      name: 'ShoppingAddress',
      component: ShoppingAddress
    },
    {
      path: '/contactwe',
      name: 'Contactwe',
      component: Contactwe
    },
    {
      path: '/introduce',
      name: 'Introduce',
      component: Introduce
    },
    {
      path: '/NewsDetail/:id',
      name: 'NewsDetail',
      component: NewsDetail,
    },
    {
      path: '/Maintenance',
      name: 'Maintenance',
      component: Maintenance
    },
    {
      path: '/MaintenanceService',
      name: 'MaintenanceService',
      component: MaintenanceService
    },
    {
      path: '/evaluate',
      name: 'Evaluate',
      component: Evaluate
    },
    {
      path: '/Qrcode',
      name: 'Qrcode',
      component: Qrcode
    },
    {
      path: '/Qrcodesussces',
      name: 'Qrcodesussces',
      component: Qrcodesussces
    },
      {
      path: '/layoutpage',
      name: 'LayoutPage',
      component: LayoutPage
    },
    {
      path: '/shoppingordermanage',
      name: 'ShoppingOrderManage',
      component: ShoppingOrderManage
    },
    {
      path: '/maintorder',
      name: 'MaintOrder',
      component: MaintOrder
    },
    {
      path: '/addressmanage',
      name: 'AddressManage',
      component: AddressManage
    },
    {
      path: '/adminmanage',
      name: 'AdminManage',
      component: AdminManage
    },
    {
      path: '/goodsmanage',
      name: 'GoodsManage',
      component: GoodsManage
    },
    {
      path: '/register',
      name: 'Register',
      component: Register
    },
    {
      path: '/paymentpage',
      name: 'PayMentPage',
      component: PayMentPage
    },
    {
      path: '/paysuccess',
      name: 'Paysuccess',
      component: Paysuccess
    },
    {
      path: '/problemSubmitSuccess',
      name: 'ProblemSubmitSuccess',
      component: ProblemSubmitSuccess
    }
  ]
})
